#version 310 es
#ifdef GL_EXT_shader_texture_lod
#extension GL_EXT_shader_texture_lod : enable
#endif

precision highp float;
precision highp int;
#define HLSLCC_ENABLE_UNIFORM_BUFFERS 1
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
#define UNITY_UNIFORM
#else
#define UNITY_UNIFORM uniform
#endif
#define UNITY_SUPPORTS_UNIFORM_LOCATION 1
#if UNITY_SUPPORTS_UNIFORM_LOCATION
#define UNITY_LOCATION(x) layout(location = x)
#define UNITY_BINDING(x) layout(binding = x, std140)
#else
#define UNITY_LOCATION(x)
#define UNITY_BINDING(x) layout(std140)
#endif
uniform 	vec4 _ScaledScreenParams;
uniform 	vec2 _GlobalMipBias;
uniform 	vec4 _MainLightPosition;
uniform 	mediump vec4 _MainLightColor;
uniform 	mediump vec4 _AmbientOcclusionParam;
uniform 	vec4 _FPParams0;
uniform 	vec4 _FPParams1;
uniform 	vec4 _AdditionalLightsPosition[16];
uniform 	mediump vec4 _AdditionalLightsColor[16];
uniform 	mediump vec4 _AdditionalLightsAttenuation[16];
uniform 	mediump vec4 _AdditionalLightsSpotDir[16];
uniform 	vec3 _WorldSpaceCameraPos;
uniform 	vec4 unity_OrthoParams;
uniform 	vec4 hlslcc_mtx4x4unity_MatrixV[4];
uniform 	vec4 _MainLightShadowOffset0;
uniform 	vec4 _MainLightShadowOffset1;
uniform 	vec4 _MainLightShadowParams;
uniform 	vec4 _MainLightShadowmapSize;
uniform 	vec4 hlslcc_mtx4x4_MainLightWorldToLight[4];
uniform 	float _AdditionalLightsCookieEnableBits;
uniform 	float _MainLightCookieTextureFormat;
uniform 	float _AdditionalLightsCookieAtlasTextureFormat;
uniform 	vec4 hlslcc_mtx4x4_AdditionalLightsWorldToLights[64];
uniform 	vec4 _AdditionalLightsCookieAtlasUVRects[16];
uniform 	float _AdditionalLightsLightTypes[16];
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
UNITY_BINDING(0) uniform URP_ZBinBuffer {
#endif
	UNITY_UNIFORM vec4                URP_ZBins[1024];
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
};
#endif
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
UNITY_BINDING(1) uniform urp_TileBuffer {
#endif
	UNITY_UNIFORM vec4                urp_Tiles[1024];
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
};
#endif
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
UNITY_BINDING(2) uniform UnityPerDraw {
#endif
	UNITY_UNIFORM vec4                hlslcc_mtx4x4unity_ObjectToWorld[4];
	UNITY_UNIFORM vec4                hlslcc_mtx4x4unity_WorldToObject[4];
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_LODFade;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedXunity_WorldTransformParams;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_RenderingLayer;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedXunity_LightData;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedXunity_LightIndices[2];
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_ProbesOcclusion;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedXunity_SpecCube0_HDR;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedXunity_SpecCube1_HDR;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_SpecCube0_BoxMax;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_SpecCube0_BoxMin;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_SpecCube0_ProbePosition;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_SpecCube1_BoxMax;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_SpecCube1_BoxMin;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_SpecCube1_ProbePosition;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_LightmapST;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_DynamicLightmapST;
	UNITY_UNIFORM mediump vec4                unity_SHAr;
	UNITY_UNIFORM mediump vec4                unity_SHAg;
	UNITY_UNIFORM mediump vec4                unity_SHAb;
	UNITY_UNIFORM mediump vec4                unity_SHBr;
	UNITY_UNIFORM mediump vec4                unity_SHBg;
	UNITY_UNIFORM mediump vec4                unity_SHBb;
	UNITY_UNIFORM mediump vec4                unity_SHC;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_RendererBounds_Min;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_RendererBounds_Max;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXhlslcc_mtx4x4unity_MatrixPreviousM[4];
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXhlslcc_mtx4x4unity_MatrixPreviousMI[4];
	UNITY_UNIFORM vec4 Xhlslcc_UnusedXunity_MotionVectorsParams;
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
};
#endif
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
UNITY_BINDING(3) uniform UnityPerMaterial {
#endif
	UNITY_UNIFORM vec4 Xhlslcc_UnusedX_SoftParticleFadeParams;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedX_CameraFadeParams;
	UNITY_UNIFORM vec4 Xhlslcc_UnusedX_BaseMap_ST;
	UNITY_UNIFORM mediump vec4                _BaseColor;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedX_EmissionColor;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedX_BaseColorAddSubDiff;
	UNITY_UNIFORM mediump vec4 Xhlslcc_UnusedX_SpecColor;
	UNITY_UNIFORM mediump float Xhlslcc_UnusedX_Cutoff;
	UNITY_UNIFORM mediump float Xhlslcc_UnusedX_Smoothness;
	UNITY_UNIFORM mediump float Xhlslcc_UnusedX_DistortionStrengthScaled;
	UNITY_UNIFORM mediump float Xhlslcc_UnusedX_DistortionBlend;
	UNITY_UNIFORM mediump float                _Surface;
#if HLSLCC_ENABLE_UNIFORM_BUFFERS
};
#endif
UNITY_LOCATION(0) uniform mediump sampler2D _ScreenSpaceOcclusionTexture;
UNITY_LOCATION(1) uniform mediump sampler2D _MainLightShadowmapTexture;
UNITY_LOCATION(2) uniform mediump sampler2DShadow hlslcc_zcmp_MainLightShadowmapTexture;
UNITY_LOCATION(3) uniform mediump sampler2D _MainLightCookieTexture;
UNITY_LOCATION(4) uniform mediump sampler2D _AdditionalLightsCookieAtlasTexture;
UNITY_LOCATION(5) uniform mediump sampler2D _BaseMap;
in highp vec2 vs_TEXCOORD0;
in mediump vec4 vs_COLOR0;
in highp vec4 vs_TEXCOORD1;
in mediump vec3 vs_TEXCOORD2;
in highp vec4 vs_TEXCOORD7;
layout(location = 0) out mediump vec4 SV_Target0;
mediump vec4 u_xlat16_0;
vec4 u_xlat1;
bool u_xlatb1;
mediump vec3 u_xlat16_2;
vec4 u_xlat3;
mediump vec4 u_xlat16_3;
mediump vec4 u_xlat16_4;
vec2 u_xlat5;
int u_xlati5;
uvec2 u_xlatu5;
float u_xlat6;
mediump vec3 u_xlat16_6;
mediump vec4 u_xlat16_7;
mediump vec4 u_xlat16_8;
mediump vec4 u_xlat16_9;
mediump vec4 u_xlat16_10;
mediump vec4 u_xlat16_11;
mediump vec4 u_xlat16_12;
mediump vec4 u_xlat16_13;
mediump vec4 u_xlat16_14;
mediump vec2 u_xlat16_15;
mediump vec4 u_xlat16_16;
mediump vec4 u_xlat16_17;
mediump vec4 u_xlat16_18;
vec3 u_xlat19;
ivec3 u_xlati19;
uint u_xlatu19;
bool u_xlatb19;
vec3 u_xlat20;
bvec2 u_xlatb20;
vec4 u_xlat21;
ivec2 u_xlati21;
bvec4 u_xlatb21;
vec4 u_xlat22;
int u_xlati22;
bvec4 u_xlatb22;
vec3 u_xlat23;
vec3 u_xlat24;
float u_xlat30;
int u_xlati30;
uint u_xlatu30;
mediump vec3 u_xlat16_31;
mediump vec2 u_xlat16_32;
float u_xlat44;
ivec3 u_xlati44;
vec3 u_xlat46;
vec3 u_xlat47;
float u_xlat55;
mediump vec2 u_xlat16_57;
mediump vec2 u_xlat16_58;
mediump vec2 u_xlat16_59;
mediump vec2 u_xlat16_61;
ivec2 u_xlati69;
vec2 u_xlat70;
ivec2 u_xlati70;
bool u_xlatb70;
float u_xlat76;
mediump float u_xlat16_76;
uint u_xlatu76;
bool u_xlatb76;
mediump float u_xlat16_77;
float u_xlat80;
mediump float u_xlat16_80;
int u_xlati80;
uint u_xlatu80;
bool u_xlatb80;
float u_xlat94;
uint u_xlatu94;
float u_xlat95;
int u_xlati95;
bool u_xlatb95;
int u_xlati96;
int int_bitfieldExtract(int value, int offset, int bits) {
#if defined(GL_ES) && __VERSION__ <= 300
    return (bits == 0) ? 0 : (offset + bits < 32) ? ((value << (32 - bits - offset)) >> (32 - bits)) : (value >> offset);
#else
    return bitfieldExtract(value, offset, (offset + bits < 32) ? bits : (32 - offset));
#endif
}

int op_not(int value) { return -value - 1; }
ivec2 op_not(ivec2 a) { a.x = op_not(a.x); a.y = op_not(a.y); return a; }
ivec3 op_not(ivec3 a) { a.x = op_not(a.x); a.y = op_not(a.y); a.z = op_not(a.z); return a; }
ivec4 op_not(ivec4 a) { a.x = op_not(a.x); a.y = op_not(a.y); a.z = op_not(a.z); a.w = op_not(a.w); return a; }

void main()
{
vec4 hlslcc_FragCoord = vec4(gl_FragCoord.xyz, 1.0/gl_FragCoord.w);
    u_xlat16_0 = texture(_BaseMap, vs_TEXCOORD0.xy, _GlobalMipBias.x);
    u_xlat16_0 = u_xlat16_0 * _BaseColor;
    u_xlat16_0 = u_xlat16_0 * vs_COLOR0;
    u_xlat1.x = dot(vs_TEXCOORD2.xyz, vs_TEXCOORD2.xyz);
    u_xlat1.x = inversesqrt(u_xlat1.x);
    u_xlat1.xyz = u_xlat1.xxx * vs_TEXCOORD2.xyz;
    u_xlat1.w = 1.0;
    u_xlat16_2.x = dot(unity_SHAr, u_xlat1);
    u_xlat16_2.y = dot(unity_SHAg, u_xlat1);
    u_xlat16_2.z = dot(unity_SHAb, u_xlat1);
    u_xlat16_3 = u_xlat1.yzzx * u_xlat1.xyzz;
    u_xlat16_4.x = dot(unity_SHBr, u_xlat16_3);
    u_xlat16_4.y = dot(unity_SHBg, u_xlat16_3);
    u_xlat16_4.z = dot(unity_SHBb, u_xlat16_3);
    u_xlat16_77 = u_xlat1.y * u_xlat1.y;
    u_xlat16_77 = u_xlat1.x * u_xlat1.x + (-u_xlat16_77);
    u_xlat16_3.xyz = unity_SHC.xyz * vec3(u_xlat16_77) + u_xlat16_4.xyz;
    u_xlat16_2.xyz = u_xlat16_2.xyz + u_xlat16_3.xyz;
    u_xlat16_2.xyz = max(u_xlat16_2.xyz, vec3(0.0, 0.0, 0.0));
    u_xlat5.xy = vec2(1.0) / vec2(_ScaledScreenParams.xy);
    u_xlat5.xy = u_xlat5.xy * hlslcc_FragCoord.xy;
    u_xlat16_76 = texture(_ScreenSpaceOcclusionTexture, u_xlat5.xy, _GlobalMipBias.x).x;
    u_xlat55 = u_xlat16_76 + -1.0;
    u_xlat55 = _AmbientOcclusionParam.w * u_xlat55 + 1.0;
    u_xlat16_77 = min(u_xlat16_76, 1.0);
    u_xlatb76 = 0.0<_MainLightShadowParams.y;
    if(u_xlatb76){
        u_xlatb76 = _MainLightShadowParams.y==1.0;
        if(u_xlatb76){
            u_xlat3 = vs_TEXCOORD7.xyxy + _MainLightShadowOffset0;
            vec3 txVec0 = vec3(u_xlat3.xy,vs_TEXCOORD7.z);
            u_xlat16_4.x = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec0, 0.0);
            vec3 txVec1 = vec3(u_xlat3.zw,vs_TEXCOORD7.z);
            u_xlat16_4.y = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec1, 0.0);
            u_xlat3 = vs_TEXCOORD7.xyxy + _MainLightShadowOffset1;
            vec3 txVec2 = vec3(u_xlat3.xy,vs_TEXCOORD7.z);
            u_xlat16_4.z = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec2, 0.0);
            vec3 txVec3 = vec3(u_xlat3.zw,vs_TEXCOORD7.z);
            u_xlat16_4.w = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec3, 0.0);
            u_xlat16_6.x = dot(u_xlat16_4, vec4(0.25, 0.25, 0.25, 0.25));
        } else {
            u_xlatb76 = _MainLightShadowParams.y==2.0;
            if(u_xlatb76){
                u_xlat16_31.xy = vs_TEXCOORD7.xy * _MainLightShadowmapSize.zw + vec2(0.5, 0.5);
                u_xlat16_31.xy = floor(u_xlat16_31.xy);
                u_xlat16_7.xy = vs_TEXCOORD7.xy * _MainLightShadowmapSize.zw + (-u_xlat16_31.xy);
                u_xlat16_3 = u_xlat16_7.xxyy + vec4(0.5, 1.0, 0.5, 1.0);
                u_xlat16_4 = u_xlat16_3.xxzz * u_xlat16_3.xxzz;
                u_xlat16_57.xy = u_xlat16_4.yw * vec2(0.0799999982, 0.0799999982);
                u_xlat16_8.xy = u_xlat16_4.xz * vec2(0.5, 0.5) + (-u_xlat16_7.xy);
                u_xlat16_58.xy = (-u_xlat16_7.xy) + vec2(1.0, 1.0);
                u_xlat16_9.xy = min(u_xlat16_7.xy, vec2(0.0, 0.0));
                u_xlat16_9.xy = (-u_xlat16_9.xy) * u_xlat16_9.xy + u_xlat16_58.xy;
                u_xlat16_7.xy = max(u_xlat16_7.xy, vec2(0.0, 0.0));
                u_xlat16_7.xy = (-u_xlat16_7.xy) * u_xlat16_7.xy + u_xlat16_3.yw;
                u_xlat16_9.xy = u_xlat16_9.xy + vec2(1.0, 1.0);
                u_xlat16_7.xy = u_xlat16_7.xy + vec2(1.0, 1.0);
                u_xlat16_4.xy = u_xlat16_8.xy * vec2(0.159999996, 0.159999996);
                u_xlat16_8.xy = u_xlat16_58.xy * vec2(0.159999996, 0.159999996);
                u_xlat16_9.xy = u_xlat16_9.xy * vec2(0.159999996, 0.159999996);
                u_xlat16_10.xy = u_xlat16_7.xy * vec2(0.159999996, 0.159999996);
                u_xlat16_7.xy = u_xlat16_3.yw * vec2(0.159999996, 0.159999996);
                u_xlat16_4.z = u_xlat16_9.x;
                u_xlat16_4.w = u_xlat16_7.x;
                u_xlat16_8.z = u_xlat16_10.x;
                u_xlat16_8.w = u_xlat16_57.x;
                u_xlat16_3 = u_xlat16_4.zwxz + u_xlat16_8.zwxz;
                u_xlat16_9.z = u_xlat16_4.y;
                u_xlat16_9.w = u_xlat16_7.y;
                u_xlat16_10.z = u_xlat16_8.y;
                u_xlat16_10.w = u_xlat16_57.y;
                u_xlat16_7.xyz = u_xlat16_9.zyw + u_xlat16_10.zyw;
                u_xlat16_8.xyz = u_xlat16_8.xzw / u_xlat16_3.zwy;
                u_xlat16_8.xyz = u_xlat16_8.xyz + vec3(-2.5, -0.5, 1.5);
                u_xlat16_9.xyz = u_xlat16_10.zyw / u_xlat16_7.xyz;
                u_xlat16_9.xyz = u_xlat16_9.xyz + vec3(-2.5, -0.5, 1.5);
                u_xlat16_4.xyz = u_xlat16_8.yxz * _MainLightShadowmapSize.xxx;
                u_xlat16_8.xyz = u_xlat16_9.xyz * _MainLightShadowmapSize.yyy;
                u_xlat16_4.w = u_xlat16_8.x;
                u_xlat16_9 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_4.ywxw;
                u_xlat16_10.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_4.zw;
                u_xlat16_8.w = u_xlat16_4.y;
                u_xlat16_4.yw = u_xlat16_8.yz;
                u_xlat16_11 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_4.xyzy;
                u_xlat16_8 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_8.wywz;
                u_xlat16_4 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_4.xwzw;
                u_xlat16_12 = u_xlat16_3.zwyz * u_xlat16_7.xxxy;
                u_xlat16_13 = u_xlat16_3 * u_xlat16_7.yyzz;
                u_xlat16_31.x = u_xlat16_3.y * u_xlat16_7.z;
                vec3 txVec4 = vec3(u_xlat16_9.xy,vs_TEXCOORD7.z);
                u_xlat16_76 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec4, 0.0);
                vec3 txVec5 = vec3(u_xlat16_9.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec5, 0.0);
                u_xlat80 = u_xlat16_80 * u_xlat16_12.y;
                u_xlat76 = u_xlat16_12.x * u_xlat16_76 + u_xlat80;
                vec3 txVec6 = vec3(u_xlat16_10.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec6, 0.0);
                u_xlat76 = u_xlat16_12.z * u_xlat16_80 + u_xlat76;
                vec3 txVec7 = vec3(u_xlat16_8.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec7, 0.0);
                u_xlat76 = u_xlat16_12.w * u_xlat16_80 + u_xlat76;
                vec3 txVec8 = vec3(u_xlat16_11.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec8, 0.0);
                u_xlat76 = u_xlat16_13.x * u_xlat16_80 + u_xlat76;
                vec3 txVec9 = vec3(u_xlat16_11.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec9, 0.0);
                u_xlat76 = u_xlat16_13.y * u_xlat16_80 + u_xlat76;
                vec3 txVec10 = vec3(u_xlat16_8.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec10, 0.0);
                u_xlat76 = u_xlat16_13.z * u_xlat16_80 + u_xlat76;
                vec3 txVec11 = vec3(u_xlat16_4.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec11, 0.0);
                u_xlat76 = u_xlat16_13.w * u_xlat16_80 + u_xlat76;
                vec3 txVec12 = vec3(u_xlat16_4.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec12, 0.0);
                u_xlat6 = u_xlat16_31.x * u_xlat16_80 + u_xlat76;
                u_xlat16_6.x = u_xlat6;
            } else {
                u_xlat16_31.xy = vs_TEXCOORD7.xy * _MainLightShadowmapSize.zw + vec2(0.5, 0.5);
                u_xlat16_31.xy = floor(u_xlat16_31.xy);
                u_xlat16_7.xy = vs_TEXCOORD7.xy * _MainLightShadowmapSize.zw + (-u_xlat16_31.xy);
                u_xlat16_3 = u_xlat16_7.xxyy + vec4(0.5, 1.0, 0.5, 1.0);
                u_xlat16_4 = u_xlat16_3.xxzz * u_xlat16_3.xxzz;
                u_xlat16_8.yw = u_xlat16_4.yw * vec2(0.0408160016, 0.0408160016);
                u_xlat16_57.xy = u_xlat16_4.xz * vec2(0.5, 0.5) + (-u_xlat16_7.xy);
                u_xlat16_9.xy = (-u_xlat16_7.xy) + vec2(1.0, 1.0);
                u_xlat16_59.xy = min(u_xlat16_7.xy, vec2(0.0, 0.0));
                u_xlat16_9.xy = (-u_xlat16_59.xy) * u_xlat16_59.xy + u_xlat16_9.xy;
                u_xlat16_59.xy = max(u_xlat16_7.xy, vec2(0.0, 0.0));
                u_xlat16_9.zw = (-u_xlat16_59.xy) * u_xlat16_59.xy + u_xlat16_3.yw;
                u_xlat16_9 = u_xlat16_9 + vec4(2.0, 2.0, 2.0, 2.0);
                u_xlat16_3.z = u_xlat16_9.z * 0.0816320032;
                u_xlat16_4.xy = u_xlat16_57.yx * vec2(0.0816320032, 0.0816320032);
                u_xlat16_57.xy = u_xlat16_9.xy * vec2(0.0816320032, 0.0816320032);
                u_xlat16_4.z = u_xlat16_9.w * 0.0816320032;
                u_xlat16_3.x = u_xlat16_4.y;
                u_xlat16_3.yw = u_xlat16_7.xx * vec2(-0.0816320032, 0.0816320032) + vec2(0.163264006, 0.0816320032);
                u_xlat16_9.xz = u_xlat16_7.xx * vec2(-0.0816320032, 0.0816320032) + vec2(0.0816320032, 0.163264006);
                u_xlat16_9.y = u_xlat16_57.x;
                u_xlat16_9.w = u_xlat16_8.y;
                u_xlat16_3 = u_xlat16_3 + u_xlat16_9;
                u_xlat16_4.yw = u_xlat16_7.yy * vec2(-0.0816320032, 0.0816320032) + vec2(0.163264006, 0.0816320032);
                u_xlat16_8.xz = u_xlat16_7.yy * vec2(-0.0816320032, 0.0816320032) + vec2(0.0816320032, 0.163264006);
                u_xlat16_8.y = u_xlat16_57.y;
                u_xlat16_4 = u_xlat16_4 + u_xlat16_8;
                u_xlat16_7 = u_xlat16_9 / u_xlat16_3;
                u_xlat16_7 = u_xlat16_7 + vec4(-3.5, -1.5, 0.5, 2.5);
                u_xlat16_8 = u_xlat16_8 / u_xlat16_4;
                u_xlat16_8 = u_xlat16_8 + vec4(-3.5, -1.5, 0.5, 2.5);
                u_xlat16_7 = u_xlat16_7.wxyz * _MainLightShadowmapSize.xxxx;
                u_xlat16_8 = u_xlat16_8.xwyz * _MainLightShadowmapSize.yyyy;
                u_xlat16_9.xzw = u_xlat16_7.yzw;
                u_xlat16_9.y = u_xlat16_8.x;
                u_xlat16_10 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_9.xyzy;
                u_xlat16_11.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_9.wy;
                u_xlat16_7.y = u_xlat16_9.y;
                u_xlat16_9.y = u_xlat16_8.z;
                u_xlat16_12 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_9.xyzy;
                u_xlat16_61.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_9.wy;
                u_xlat16_7.z = u_xlat16_9.y;
                u_xlat16_13 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_7.xyxz;
                u_xlat16_9.y = u_xlat16_8.w;
                u_xlat16_14 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_9.xyzy;
                u_xlat16_32.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_9.wy;
                u_xlat16_7.w = u_xlat16_9.y;
                u_xlat16_15.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_7.xw;
                u_xlat16_8.xzw = u_xlat16_9.xzw;
                u_xlat16_9 = u_xlat16_31.xyxy * _MainLightShadowmapSize.xyxy + u_xlat16_8.xyzy;
                u_xlat16_58.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_8.wy;
                u_xlat16_8.x = u_xlat16_7.x;
                u_xlat16_31.xy = u_xlat16_31.xy * _MainLightShadowmapSize.xy + u_xlat16_8.xy;
                u_xlat16_16 = u_xlat16_3 * u_xlat16_4.xxxx;
                u_xlat16_17 = u_xlat16_3 * u_xlat16_4.yyyy;
                u_xlat16_18 = u_xlat16_3 * u_xlat16_4.zzzz;
                u_xlat16_3 = u_xlat16_3 * u_xlat16_4.wwww;
                vec3 txVec13 = vec3(u_xlat16_10.xy,vs_TEXCOORD7.z);
                u_xlat16_76 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec13, 0.0);
                vec3 txVec14 = vec3(u_xlat16_10.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec14, 0.0);
                u_xlat80 = u_xlat16_80 * u_xlat16_16.y;
                u_xlat76 = u_xlat16_16.x * u_xlat16_76 + u_xlat80;
                vec3 txVec15 = vec3(u_xlat16_11.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec15, 0.0);
                u_xlat76 = u_xlat16_16.z * u_xlat16_80 + u_xlat76;
                vec3 txVec16 = vec3(u_xlat16_13.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec16, 0.0);
                u_xlat76 = u_xlat16_16.w * u_xlat16_80 + u_xlat76;
                vec3 txVec17 = vec3(u_xlat16_12.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec17, 0.0);
                u_xlat76 = u_xlat16_17.x * u_xlat16_80 + u_xlat76;
                vec3 txVec18 = vec3(u_xlat16_12.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec18, 0.0);
                u_xlat76 = u_xlat16_17.y * u_xlat16_80 + u_xlat76;
                vec3 txVec19 = vec3(u_xlat16_61.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec19, 0.0);
                u_xlat76 = u_xlat16_17.z * u_xlat16_80 + u_xlat76;
                vec3 txVec20 = vec3(u_xlat16_13.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec20, 0.0);
                u_xlat76 = u_xlat16_17.w * u_xlat16_80 + u_xlat76;
                vec3 txVec21 = vec3(u_xlat16_14.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec21, 0.0);
                u_xlat76 = u_xlat16_18.x * u_xlat16_80 + u_xlat76;
                vec3 txVec22 = vec3(u_xlat16_14.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec22, 0.0);
                u_xlat76 = u_xlat16_18.y * u_xlat16_80 + u_xlat76;
                vec3 txVec23 = vec3(u_xlat16_32.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec23, 0.0);
                u_xlat76 = u_xlat16_18.z * u_xlat16_80 + u_xlat76;
                vec3 txVec24 = vec3(u_xlat16_15.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec24, 0.0);
                u_xlat76 = u_xlat16_18.w * u_xlat16_80 + u_xlat76;
                vec3 txVec25 = vec3(u_xlat16_9.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec25, 0.0);
                u_xlat76 = u_xlat16_3.x * u_xlat16_80 + u_xlat76;
                vec3 txVec26 = vec3(u_xlat16_9.zw,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec26, 0.0);
                u_xlat76 = u_xlat16_3.y * u_xlat16_80 + u_xlat76;
                vec3 txVec27 = vec3(u_xlat16_58.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec27, 0.0);
                u_xlat76 = u_xlat16_3.z * u_xlat16_80 + u_xlat76;
                vec3 txVec28 = vec3(u_xlat16_31.xy,vs_TEXCOORD7.z);
                u_xlat16_80 = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec28, 0.0);
                u_xlat6 = u_xlat16_3.w * u_xlat16_80 + u_xlat76;
                u_xlat16_6.x = u_xlat6;
            }
        }
    } else {
        vec3 txVec29 = vec3(vs_TEXCOORD7.xy,vs_TEXCOORD7.z);
        u_xlat16_6.x = textureLod(hlslcc_zcmp_MainLightShadowmapTexture, txVec29, 0.0);
        u_xlat16_6.x = u_xlat16_6.x;
    }
    u_xlat16_31.x = (-_MainLightShadowParams.x) + 1.0;
    u_xlat16_6.x = u_xlat16_6.x * _MainLightShadowParams.x + u_xlat16_31.x;
    u_xlatb76 = 0.0>=vs_TEXCOORD7.z;
    u_xlatb80 = vs_TEXCOORD7.z>=1.0;
    u_xlatb76 = u_xlatb76 || u_xlatb80;
    u_xlat16_6.x = (u_xlatb76) ? 1.0 : u_xlat16_6.x;
    u_xlat19.xyz = vs_TEXCOORD1.xyz + (-_WorldSpaceCameraPos.xyz);
    u_xlat76 = dot(u_xlat19.xyz, u_xlat19.xyz);
    u_xlat76 = u_xlat76 * _MainLightShadowParams.z + _MainLightShadowParams.w;
    u_xlat76 = clamp(u_xlat76, 0.0, 1.0);
    u_xlat16_31.x = (-u_xlat16_6.x) + 1.0;
    u_xlat16_6.x = u_xlat76 * u_xlat16_31.x + u_xlat16_6.x;
    u_xlatb76 = _MainLightCookieTextureFormat!=-1.0;
    if(u_xlatb76){
        u_xlat20.xy = vs_TEXCOORD1.yy * hlslcc_mtx4x4_MainLightWorldToLight[1].xy;
        u_xlat20.xy = hlslcc_mtx4x4_MainLightWorldToLight[0].xy * vs_TEXCOORD1.xx + u_xlat20.xy;
        u_xlat20.xy = hlslcc_mtx4x4_MainLightWorldToLight[2].xy * vs_TEXCOORD1.zz + u_xlat20.xy;
        u_xlat20.xy = u_xlat20.xy + hlslcc_mtx4x4_MainLightWorldToLight[3].xy;
        u_xlat20.xy = u_xlat20.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
        u_xlat16_3 = texture(_MainLightCookieTexture, u_xlat20.xy, _GlobalMipBias.x);
        u_xlatb20.xy = equal(vec4(vec4(_MainLightCookieTextureFormat, _MainLightCookieTextureFormat, _MainLightCookieTextureFormat, _MainLightCookieTextureFormat)), vec4(0.0, 1.0, 0.0, 0.0)).xy;
        u_xlat16_31.x = (u_xlatb20.y) ? u_xlat16_3.w : u_xlat16_3.x;
        u_xlat16_31.xyz = (u_xlatb20.x) ? u_xlat16_3.xyz : u_xlat16_31.xxx;
    } else {
        u_xlat16_31.x = float(1.0);
        u_xlat16_31.y = float(1.0);
        u_xlat16_31.z = float(1.0);
    }
    u_xlat16_31.xyz = u_xlat16_31.xyz * _MainLightColor.xyz;
    u_xlat16_31.xyz = vec3(u_xlat55) * u_xlat16_31.xyz;
    u_xlat16_2.xyz = vec3(u_xlat16_77) * u_xlat16_2.xyz;
    u_xlat20.xyz = u_xlat16_6.xxx * u_xlat16_31.xyz;
    u_xlat16_77 = dot(u_xlat1.xyz, _MainLightPosition.xyz);
    u_xlat16_77 = clamp(u_xlat16_77, 0.0, 1.0);
    u_xlat16_6.xyz = vec3(u_xlat16_77) * u_xlat20.xyz;
    u_xlat16_6.xyz = u_xlat16_0.xyz * u_xlat16_6.xyz;
    u_xlatu76 = uint(_FPParams0.w);
    u_xlatu80 = min(u_xlatu76, 16u);
    u_xlatb20.xy = equal(vec4(vec4(_AdditionalLightsCookieAtlasTextureFormat, _AdditionalLightsCookieAtlasTextureFormat, _AdditionalLightsCookieAtlasTextureFormat, _AdditionalLightsCookieAtlasTextureFormat)), vec4(0.0, 1.0, 0.0, 0.0)).xy;
    u_xlat16_7.x = float(0.0);
    u_xlat16_7.y = float(0.0);
    u_xlat16_7.z = float(0.0);
    for(uint u_xlatu_loop_1 = uint(0u) ; u_xlatu_loop_1<u_xlatu80 ; u_xlatu_loop_1++)
    {
        u_xlat21.xyz = (-vs_TEXCOORD1.xyz) * _AdditionalLightsPosition[int(u_xlatu_loop_1)].www + _AdditionalLightsPosition[int(u_xlatu_loop_1)].xyz;
        u_xlat70.x = dot(u_xlat21.xyz, u_xlat21.xyz);
        u_xlat70.x = max(u_xlat70.x, 6.10351562e-05);
        u_xlat95 = inversesqrt(u_xlat70.x);
        u_xlat21.xyz = vec3(u_xlat95) * u_xlat21.xyz;
        u_xlat95 = float(1.0) / float(u_xlat70.x);
        u_xlat70.x = u_xlat70.x * _AdditionalLightsAttenuation[int(u_xlatu_loop_1)].x;
        u_xlat16_77 = (-u_xlat70.x) * u_xlat70.x + 1.0;
        u_xlat16_77 = max(u_xlat16_77, 0.0);
        u_xlat16_77 = u_xlat16_77 * u_xlat16_77;
        u_xlat70.x = u_xlat16_77 * u_xlat95;
        u_xlat16_77 = dot(_AdditionalLightsSpotDir[int(u_xlatu_loop_1)].xyz, u_xlat21.xyz);
        u_xlat16_77 = u_xlat16_77 * _AdditionalLightsAttenuation[int(u_xlatu_loop_1)].z + _AdditionalLightsAttenuation[int(u_xlatu_loop_1)].w;
        u_xlat16_77 = clamp(u_xlat16_77, 0.0, 1.0);
        u_xlat16_77 = u_xlat16_77 * u_xlat16_77;
        u_xlat70.x = u_xlat16_77 * u_xlat70.x;
        u_xlati95 = int(1 << (int(u_xlatu_loop_1) & int(0x1F)));
        u_xlati95 = int(uint(uint(u_xlati95) & uint(floatBitsToUint(_AdditionalLightsCookieEnableBits))));
        if(u_xlati95 != 0) {
            u_xlati95 = int(_AdditionalLightsLightTypes[int(u_xlatu_loop_1)]);
            u_xlati96 = (u_xlati95 != 0) ? 0 : 1;
            u_xlati22 = int(int(u_xlatu_loop_1) << (2 & int(0x1F)));
            if(u_xlati96 != 0) {
                u_xlat47.xyz = vs_TEXCOORD1.yyy * hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 1)].xyw;
                u_xlat47.xyz = hlslcc_mtx4x4_AdditionalLightsWorldToLights[u_xlati22].xyw * vs_TEXCOORD1.xxx + u_xlat47.xyz;
                u_xlat47.xyz = hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 2)].xyw * vs_TEXCOORD1.zzz + u_xlat47.xyz;
                u_xlat47.xyz = u_xlat47.xyz + hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 3)].xyw;
                u_xlat47.xy = u_xlat47.xy / u_xlat47.zz;
                u_xlat47.xy = u_xlat47.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
                u_xlat47.xy = clamp(u_xlat47.xy, 0.0, 1.0);
                u_xlat47.xy = _AdditionalLightsCookieAtlasUVRects[int(u_xlatu_loop_1)].xy * u_xlat47.xy + _AdditionalLightsCookieAtlasUVRects[int(u_xlatu_loop_1)].zw;
            } else {
                u_xlatb95 = u_xlati95==1;
                u_xlati95 = u_xlatb95 ? 1 : int(0);
                if(u_xlati95 != 0) {
                    u_xlat23.xy = vs_TEXCOORD1.yy * hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 1)].xy;
                    u_xlat23.xy = hlslcc_mtx4x4_AdditionalLightsWorldToLights[u_xlati22].xy * vs_TEXCOORD1.xx + u_xlat23.xy;
                    u_xlat23.xy = hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 2)].xy * vs_TEXCOORD1.zz + u_xlat23.xy;
                    u_xlat23.xy = u_xlat23.xy + hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 3)].xy;
                    u_xlat23.xy = u_xlat23.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
                    u_xlat23.xy = fract(u_xlat23.xy);
                    u_xlat47.xy = _AdditionalLightsCookieAtlasUVRects[int(u_xlatu_loop_1)].xy * u_xlat23.xy + _AdditionalLightsCookieAtlasUVRects[int(u_xlatu_loop_1)].zw;
                } else {
                    u_xlat3 = vs_TEXCOORD1.yyyy * hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 1)];
                    u_xlat3 = hlslcc_mtx4x4_AdditionalLightsWorldToLights[u_xlati22] * vs_TEXCOORD1.xxxx + u_xlat3;
                    u_xlat3 = hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 2)] * vs_TEXCOORD1.zzzz + u_xlat3;
                    u_xlat3 = u_xlat3 + hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati22 + 3)];
                    u_xlat23.xyz = u_xlat3.xyz / u_xlat3.www;
                    u_xlat95 = dot(u_xlat23.xyz, u_xlat23.xyz);
                    u_xlat95 = inversesqrt(u_xlat95);
                    u_xlat23.xyz = vec3(u_xlat95) * u_xlat23.xyz;
                    u_xlat95 = dot(abs(u_xlat23.xyz), vec3(1.0, 1.0, 1.0));
                    u_xlat95 = max(u_xlat95, 9.99999997e-07);
                    u_xlat95 = float(1.0) / float(u_xlat95);
                    u_xlat24.xyz = vec3(u_xlat95) * u_xlat23.zxy;
                    u_xlat24.x = (-u_xlat24.x);
                    u_xlat24.x = clamp(u_xlat24.x, 0.0, 1.0);
                    u_xlatb22.xw = greaterThanEqual(u_xlat24.yyyz, vec4(0.0, 0.0, 0.0, 0.0)).xw;
                    u_xlat22.x = (u_xlatb22.x) ? u_xlat24.x : (-u_xlat24.x);
                    u_xlat22.w = (u_xlatb22.w) ? u_xlat24.x : (-u_xlat24.x);
                    u_xlat22.xw = u_xlat23.xy * vec2(u_xlat95) + u_xlat22.xw;
                    u_xlat22.xw = u_xlat22.xw * vec2(0.5, 0.5) + vec2(0.5, 0.5);
                    u_xlat22.xw = clamp(u_xlat22.xw, 0.0, 1.0);
                    u_xlat47.xy = _AdditionalLightsCookieAtlasUVRects[int(u_xlatu_loop_1)].xy * u_xlat22.xw + _AdditionalLightsCookieAtlasUVRects[int(u_xlatu_loop_1)].zw;
                }
            }
            u_xlat16_3 = textureLod(_AdditionalLightsCookieAtlasTexture, u_xlat47.xy, 0.0);
            u_xlat16_77 = (u_xlatb20.y) ? u_xlat16_3.w : u_xlat16_3.x;
            u_xlat16_8.xyz = (u_xlatb20.x) ? u_xlat16_3.xyz : vec3(u_xlat16_77);
        } else {
            u_xlat16_8.x = float(1.0);
            u_xlat16_8.y = float(1.0);
            u_xlat16_8.z = float(1.0);
        }
        u_xlat16_8.xyz = u_xlat16_8.xyz * _AdditionalLightsColor[int(u_xlatu_loop_1)].xyz;
        u_xlat16_8.xyz = vec3(u_xlat55) * u_xlat16_8.xyz;
        u_xlat22.xyz = u_xlat70.xxx * u_xlat16_8.xyz;
        u_xlat16_77 = dot(u_xlat1.xyz, u_xlat21.xyz);
        u_xlat16_77 = clamp(u_xlat16_77, 0.0, 1.0);
        u_xlat16_8.xyz = vec3(u_xlat16_77) * u_xlat22.xyz;
        u_xlat16_7.xyz = u_xlat16_8.xyz * u_xlat16_0.xyz + u_xlat16_7.xyz;
    }
    u_xlatu80 = uint(_FPParams1.w);
    if(u_xlatu80 != uint(0)) {
        u_xlat5.xy = u_xlat5.xy * _FPParams1.xy;
        u_xlatu5.xy = uvec2(u_xlat5.xy);
        u_xlatu94 = uint(_FPParams1.z);
        u_xlati5 = int(u_xlatu5.y) * int(u_xlatu94) + int(u_xlatu5.x);
        u_xlatu5.x = u_xlatu80 * uint(u_xlati5);
        u_xlat21.x = (-hlslcc_mtx4x4unity_MatrixV[0].z);
        u_xlat21.y = (-hlslcc_mtx4x4unity_MatrixV[1].z);
        u_xlat21.z = (-hlslcc_mtx4x4unity_MatrixV[2].z);
        u_xlat30 = dot(u_xlat21.xyz, u_xlat19.xyz);
        u_xlatb19 = unity_OrthoParams.w==0.0;
        u_xlat44 = log2(u_xlat30);
        u_xlat30 = (u_xlatb19) ? u_xlat44 : u_xlat30;
        u_xlat30 = u_xlat30 * _FPParams0.x + _FPParams0.y;
        u_xlatu30 = uint(u_xlat30);
        u_xlatu30 = min(u_xlatu30, 4095u);
        u_xlati80 = int(u_xlatu80) + 2;
        u_xlatu19 = uint(u_xlati80) * u_xlatu30;
        u_xlatu30 = u_xlatu30 * uint(u_xlati80) + 2u;
        u_xlatu80 = uint(u_xlatu19 >> (2u & uint(0x1F)));
        u_xlati19.xy = ivec2(int_bitfieldExtract(int(u_xlatu19), int(0) & int(0x1F), int(1) & int(0x1F)), int_bitfieldExtract(int(u_xlatu19), int(1) & int(0x1F), int(1) & int(0x1F)));
        u_xlati69.xy = ivec2(uvec2(uint(u_xlati19.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu80)].w)), uint(u_xlati19.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu80)].y))));
        u_xlati70.xy = op_not(u_xlati19.xy);
        u_xlati21.xy = ivec2(uvec2(uint(u_xlati70.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu80)].z)), uint(u_xlati70.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu80)].x))));
        u_xlati19.xz = ivec2(uvec2(uint(u_xlati69.x) | uint(u_xlati21.x), uint(u_xlati69.y) | uint(u_xlati21.y)));
        u_xlati80 = int(uint(uint(u_xlati19.y) & uint(u_xlati19.x)));
        u_xlati19.x = int(uint(uint(u_xlati70.y) & uint(u_xlati19.z)));
        u_xlatu80 = uint(uint(u_xlati80) | uint(u_xlati19.x));
        u_xlatu19 = uint(u_xlatu5.x >> (2u & uint(0x1F)));
        u_xlati44.xy = ivec2(int_bitfieldExtract(int(u_xlatu5.x), int(0) & int(0x1F), int(1) & int(0x1F)), int_bitfieldExtract(int(u_xlatu5.x), int(1) & int(0x1F), int(1) & int(0x1F)));
        u_xlati70.xy = ivec2(uvec2(uint(u_xlati44.x) & uint(floatBitsToUint(urp_Tiles[int(u_xlatu19)].w)), uint(u_xlati44.x) & uint(floatBitsToUint(urp_Tiles[int(u_xlatu19)].y))));
        u_xlati44.xz = op_not(u_xlati44.xy);
        u_xlati19.xy = ivec2(uvec2(uint(u_xlati44.x) & uint(floatBitsToUint(urp_Tiles[int(u_xlatu19)].z)), uint(u_xlati44.x) & uint(floatBitsToUint(urp_Tiles[int(u_xlatu19)].x))));
        u_xlati19.xy = ivec2(uvec2(uint(u_xlati19.x) | uint(u_xlati70.x), uint(u_xlati19.y) | uint(u_xlati70.y)));
        u_xlati5 = int(uint(uint(u_xlati44.y) & uint(u_xlati19.x)));
        u_xlati19.x = int(uint(uint(u_xlati44.z) & uint(u_xlati19.y)));
        u_xlati5 = int(uint(uint(u_xlati5) | uint(u_xlati19.x)));
        u_xlatu19 = uint(u_xlatu30 >> (2u & uint(0x1F)));
        u_xlati44.xy = ivec2(int_bitfieldExtract(int(u_xlatu30), int(0) & int(0x1F), int(1) & int(0x1F)), int_bitfieldExtract(int(u_xlatu30), int(1) & int(0x1F), int(1) & int(0x1F)));
        u_xlati70.xy = ivec2(uvec2(uint(u_xlati44.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu19)].w)), uint(u_xlati44.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu19)].y))));
        u_xlati44.xz = op_not(u_xlati44.xy);
        u_xlati19.xy = ivec2(uvec2(uint(u_xlati44.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu19)].z)), uint(u_xlati44.x) & uint(floatBitsToUint(URP_ZBins[int(u_xlatu19)].x))));
        u_xlati19.xy = ivec2(uvec2(uint(u_xlati19.x) | uint(u_xlati70.x), uint(u_xlati19.y) | uint(u_xlati70.y)));
        u_xlati30 = int(uint(uint(u_xlati44.y) & uint(u_xlati19.x)));
        u_xlati19.x = int(uint(uint(u_xlati44.z) & uint(u_xlati19.y)));
        u_xlati30 = int(uint(uint(u_xlati30) | uint(u_xlati19.x)));
        u_xlati5 = int(uint(uint(u_xlati30) & uint(u_xlati5)));
        u_xlati30 = int(int(0xFFFFFFFFu) << (int(u_xlatu80) & int(0x1F)));
        u_xlati5 = int(uint(uint(u_xlati30) & uint(u_xlati5)));
        u_xlatu30 = uint(u_xlatu80 >> (16u & uint(0x1F)));
        u_xlatu30 = (-u_xlatu30) + 31u;
        u_xlatu30 = uint(4294967295u >> (u_xlatu30 & uint(0x1F)));
        u_xlati5 = int(uint(u_xlatu30 & uint(u_xlati5)));
    } else {
        u_xlati5 = 0;
    }
    u_xlat16_8.xyz = u_xlat16_7.xyz;
    u_xlati30 = u_xlati5;
    while(true){
        if(u_xlati30 == 0) {break;}
        u_xlati80 = 0 - u_xlati30;
        u_xlatu80 = uint(uint(u_xlati80) & uint(u_xlati30));
        u_xlat80 = float(u_xlatu80);
        u_xlatu80 = uint(uint(floatBitsToUint(u_xlat80)) >> (23u & uint(0x1F)));
        u_xlati80 = int(u_xlatu80) + int(0xFFFFFF81u);
        u_xlati19.x = int(1 << (u_xlati80 & int(0x1F)));
        u_xlati30 = int(uint(uint(u_xlati30) ^ uint(u_xlati19.x)));
        u_xlati80 = int(u_xlatu76) + u_xlati80;
        u_xlat19.xyz = (-vs_TEXCOORD1.xyz) * _AdditionalLightsPosition[u_xlati80].www + _AdditionalLightsPosition[u_xlati80].xyz;
        u_xlat94 = dot(u_xlat19.xyz, u_xlat19.xyz);
        u_xlat94 = max(u_xlat94, 6.10351562e-05);
        u_xlat70.x = inversesqrt(u_xlat94);
        u_xlat19.xyz = u_xlat19.xyz * u_xlat70.xxx;
        u_xlat70.x = float(1.0) / float(u_xlat94);
        u_xlat94 = u_xlat94 * _AdditionalLightsAttenuation[u_xlati80].x;
        u_xlat16_77 = (-u_xlat94) * u_xlat94 + 1.0;
        u_xlat16_77 = max(u_xlat16_77, 0.0);
        u_xlat16_77 = u_xlat16_77 * u_xlat16_77;
        u_xlat94 = u_xlat16_77 * u_xlat70.x;
        u_xlat16_77 = dot(_AdditionalLightsSpotDir[u_xlati80].xyz, u_xlat19.xyz);
        u_xlat16_77 = u_xlat16_77 * _AdditionalLightsAttenuation[u_xlati80].z + _AdditionalLightsAttenuation[u_xlati80].w;
        u_xlat16_77 = clamp(u_xlat16_77, 0.0, 1.0);
        u_xlat16_77 = u_xlat16_77 * u_xlat16_77;
        u_xlat94 = u_xlat16_77 * u_xlat94;
        u_xlati70.x = int(1 << (u_xlati80 & int(0x1F)));
        u_xlati70.x = int(uint(uint(u_xlati70.x) & uint(floatBitsToUint(_AdditionalLightsCookieEnableBits))));
        if(u_xlati70.x != 0) {
            u_xlati70.x = int(_AdditionalLightsLightTypes[u_xlati80]);
            u_xlati95 = (u_xlati70.x != 0) ? 0 : 1;
            u_xlati21.x = int(u_xlati80 << (2 & int(0x1F)));
            if(u_xlati95 != 0) {
                u_xlat46.xyz = vs_TEXCOORD1.yyy * hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 1)].xyw;
                u_xlat46.xyz = hlslcc_mtx4x4_AdditionalLightsWorldToLights[u_xlati21.x].xyw * vs_TEXCOORD1.xxx + u_xlat46.xyz;
                u_xlat46.xyz = hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 2)].xyw * vs_TEXCOORD1.zzz + u_xlat46.xyz;
                u_xlat46.xyz = u_xlat46.xyz + hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 3)].xyw;
                u_xlat46.xy = u_xlat46.xy / u_xlat46.zz;
                u_xlat46.xy = u_xlat46.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
                u_xlat46.xy = clamp(u_xlat46.xy, 0.0, 1.0);
                u_xlat46.xy = _AdditionalLightsCookieAtlasUVRects[u_xlati80].xy * u_xlat46.xy + _AdditionalLightsCookieAtlasUVRects[u_xlati80].zw;
            } else {
                u_xlatb70 = u_xlati70.x==1;
                u_xlati70.x = u_xlatb70 ? 1 : int(0);
                if(u_xlati70.x != 0) {
                    u_xlat70.xy = vs_TEXCOORD1.yy * hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 1)].xy;
                    u_xlat70.xy = hlslcc_mtx4x4_AdditionalLightsWorldToLights[u_xlati21.x].xy * vs_TEXCOORD1.xx + u_xlat70.xy;
                    u_xlat70.xy = hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 2)].xy * vs_TEXCOORD1.zz + u_xlat70.xy;
                    u_xlat70.xy = u_xlat70.xy + hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 3)].xy;
                    u_xlat70.xy = u_xlat70.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
                    u_xlat70.xy = fract(u_xlat70.xy);
                    u_xlat46.xy = _AdditionalLightsCookieAtlasUVRects[u_xlati80].xy * u_xlat70.xy + _AdditionalLightsCookieAtlasUVRects[u_xlati80].zw;
                } else {
                    u_xlat3 = vs_TEXCOORD1.yyyy * hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 1)];
                    u_xlat3 = hlslcc_mtx4x4_AdditionalLightsWorldToLights[u_xlati21.x] * vs_TEXCOORD1.xxxx + u_xlat3;
                    u_xlat3 = hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 2)] * vs_TEXCOORD1.zzzz + u_xlat3;
                    u_xlat3 = u_xlat3 + hlslcc_mtx4x4_AdditionalLightsWorldToLights[(u_xlati21.x + 3)];
                    u_xlat22.xyz = u_xlat3.xyz / u_xlat3.www;
                    u_xlat70.x = dot(u_xlat22.xyz, u_xlat22.xyz);
                    u_xlat70.x = inversesqrt(u_xlat70.x);
                    u_xlat22.xyz = u_xlat70.xxx * u_xlat22.xyz;
                    u_xlat70.x = dot(abs(u_xlat22.xyz), vec3(1.0, 1.0, 1.0));
                    u_xlat70.x = max(u_xlat70.x, 9.99999997e-07);
                    u_xlat70.x = float(1.0) / float(u_xlat70.x);
                    u_xlat23.xyz = u_xlat70.xxx * u_xlat22.zxy;
                    u_xlat23.x = (-u_xlat23.x);
                    u_xlat23.x = clamp(u_xlat23.x, 0.0, 1.0);
                    u_xlatb21.xw = greaterThanEqual(u_xlat23.yyyz, vec4(0.0, 0.0, 0.0, 0.0)).xw;
                    u_xlat21.x = (u_xlatb21.x) ? u_xlat23.x : (-u_xlat23.x);
                    u_xlat21.w = (u_xlatb21.w) ? u_xlat23.x : (-u_xlat23.x);
                    u_xlat70.xy = u_xlat22.xy * u_xlat70.xx + u_xlat21.xw;
                    u_xlat70.xy = u_xlat70.xy * vec2(0.5, 0.5) + vec2(0.5, 0.5);
                    u_xlat70.xy = clamp(u_xlat70.xy, 0.0, 1.0);
                    u_xlat46.xy = _AdditionalLightsCookieAtlasUVRects[u_xlati80].xy * u_xlat70.xy + _AdditionalLightsCookieAtlasUVRects[u_xlati80].zw;
                }
            }
            u_xlat16_3 = textureLod(_AdditionalLightsCookieAtlasTexture, u_xlat46.xy, 0.0);
            u_xlat16_77 = (u_xlatb20.y) ? u_xlat16_3.w : u_xlat16_3.x;
            u_xlat16_9.xyz = (u_xlatb20.x) ? u_xlat16_3.xyz : vec3(u_xlat16_77);
        } else {
            u_xlat16_9.x = float(1.0);
            u_xlat16_9.y = float(1.0);
            u_xlat16_9.z = float(1.0);
        }
        u_xlat16_9.xyz = u_xlat16_9.xyz * _AdditionalLightsColor[u_xlati80].xyz;
        u_xlat16_9.xyz = vec3(u_xlat55) * u_xlat16_9.xyz;
        u_xlat21.xyz = vec3(u_xlat94) * u_xlat16_9.xyz;
        u_xlat16_77 = dot(u_xlat1.xyz, u_xlat19.xyz);
        u_xlat16_77 = clamp(u_xlat16_77, 0.0, 1.0);
        u_xlat16_9.xyz = vec3(u_xlat16_77) * u_xlat21.xyz;
        u_xlat16_8.xyz = u_xlat16_9.xyz * u_xlat16_0.xyz + u_xlat16_8.xyz;
    }
    u_xlat16_2.xyz = u_xlat16_2.xyz * u_xlat16_0.xyz + u_xlat16_6.xyz;
    SV_Target0.xyz = u_xlat16_8.xyz + u_xlat16_2.xyz;
    u_xlatb1 = _Surface==1.0;
    SV_Target0.w = (u_xlatb1) ? u_xlat16_0.w : 1.0;
    return;
}


// Keywords: _FORWARD_PLUS _LIGHT_COOKIES _MAIN_LIGHT_SHADOWS _SCREEN_SPACE_OCCLUSION _SHADOWS_SOFT
// 